#include <stdio.h>
#include <stdlib.h>
#include "customer.h"

#define CUSTOMER_INFO_FILE "data/customer_info.dat"
#define CUSTOMER_ID_BASE   100001

static unsigned int get_new_mid(void)
{
	customer_info ci;
	unsigned int mid;
}


void member_reg(void)
{
	customer_info ci;
	printf("请根据提示写入会员名称：\n（如果写错概不负责！）");
	printf("请输入卡号：");
	scanf("%s", ci.card_num);
	
	printf("请输入姓名： ");
	scanf("%s", ci.name);

	printf("请输入性别：\n注：1女2男3直升机4沃尔玛购物袋");
	scanf("%d", (int*)ci.s);
	printf("请输入会员等级：\n(三等分的等级)");
	scanf("%d", (int*)ci.l);

	
}

